class B{
    public B(){
        func();
    }

    public void func(){
        System.out.println("B.func( )");
    }

}

class D extends B{
    private int num=1;
    public D(){
        super();
    }

    @Override
    public void func(){
        System.out.println("D.func( )"+num+" 此时父类还未走完 ！");
    }

}

public class test_11_14_0_3 {
    public static void main(String[] args){
        D d=new D();
    }
}
